TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
LIBS+=-L/usr/local/lib -lpcap
LIBS+=-L/usr/local/lib -lnids
LIBS += -lssl -lcrypto

linux:!macx: LIBS += -L$$PWD/mysql-connector-c++-8.1.0-linux-glibc2.28-x86-64bit/lib64/ -lmysqlcppconn
INCLUDEPATH += $$PWD/mysql-connector-c++-8.1.0-linux-glibc2.28-x86-64bit/include
DEPENDPATH += $$PWD/mysql-connector-c++-8.1.0-linux-glibc2.28-x86-64bit


INCLUDEPATH += $$PWD/iniparser/src
DEPENDPATH+= $$PWD/iniparser/src




SOURCES += \
        dictionary.c \
        iniparser.c \
        main.cpp

HEADERS += \
    ConnectionPool.h \
    ThreadPool.h \
    dictionary.h \
    iniparser.h \
    init.h \
    parse_header.h \
    pojo.h \
    sql.h \
    util.h

DISTFILES += \
    build-flow-analysis-cpp-Desktop_Qt_5_14_2_GCC_64bit-Debug/config.ini \
    build-flow-analysis-cpp/README.md \
    build-flow-analysis-cpp/config.ini
